Test and fix acknowedge_watch from returning EINVAL.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 26 Jul 2005 15:09:43 +0000 (15:09 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 26 Jul 2005 15:09:43 +0000 (15:09 +0000)
commite08ecc0000058e476a61af2b503ce34580bd63bc
tree47c2f9f90c4b2231ad30b100beae2bd2ca18d473
parenta9c1da21e112a3b0672594fd9c247214a67af10b
Test and fix acknowedge_watch from returning EINVAL.
Also ensure that daemon re-xmits event if they ack wrong thing
(otherwise confused clients get stuck, as we will send no more
data while awaiting ack).
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/xenstore/testsuite/13watch-ack.sh [new file with mode: 0644]
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_core.h
tools/xenstore/xenstored_watch.c